from flask import Blueprint

admin = Blueprint('admin', __name__)

from reguser.views import *

admin.add_url_rule('/reg/', view_func=Reg.as_view('reg'))
admin.add_url_rule('/checkuser/', view_func=CheckUser.as_view('check_user'))
admin.add_url_rule('/edituser/', view_func=EditUser.as_view('edit_user'))

admin.add_url_rule('/login/', view_func=Login.as_view('login'))

admin.add_url_rule('/logout/', view_func=LogOut.as_view('logout'))